<template>
  <div>
    <span>小美每次花100元</span
    ><button @click="$emit('updata:money', money - 100)">花钱</button>爸爸还剩{{
      money
    }}元
  </div>
</template>

<script>
export default {
  name: "Child2",
  props: ["money"],
};
</script>

<style>
</style>